﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> 
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %> 
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="CompletedTasksByPersonUserControl.ascx.cs" Inherits="TRIG_MOD_DASHBOARDS.CompletedTasksByPerson.CompletedTasksByPersonUserControl" %>

<script src="/_layouts/TRIG_MOD_DASHBOARDS\Scripts\ValidationScripts.js" type="text/javascript"
    language="javascript"></script>
<link rel="Stylesheet" type="text/Css" href="/_layouts/TRIG_MOD_DASHBOARDS/tce.css" />

<asp:UpdatePanel ID="err" runat="server">
    <ContentTemplate>
        <asp:Label ID="errorMsg" runat="server"></asp:Label>
    </ContentTemplate>
    <Triggers>
    <asp:AsyncPostBackTrigger  ControlID="btnCompleteShow" EventName="Click" />
    </Triggers>
</asp:UpdatePanel>

<asp:UpdatePanel ID="uptc" runat="server">
    <ContentTemplate>
        <table>
            <tr>
                <td>
                    Users
                    <asp:DropDownList runat="server" ID="ddlTaskPerson" CssClass="title"   OnSelectedIndexChanged="ddlTaskPerson_SelectedIndexChanged">
                    </asp:DropDownList>
                </td>
            </tr>
        </table>
    </ContentTemplate>
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="ddlTaskPerson" />
    </Triggers>
</asp:UpdatePanel>

<asp:UpdatePanel ID="UptSummary" runat="server" >
    <ContentTemplate>
        <asp:Button runat="server" ID="btnCompleteShow" Text="Show" 
            onclick="btnCompleteShow_Click"  />
    </ContentTemplate>
    <Triggers>
    
    </Triggers>
</asp:UpdatePanel>

<asp:UpdatePanel ID="upUserComplete" runat="server">
    <ContentTemplate>
        <asp:GridView ID="gvUserCompleteTasks" runat="server" AllowPaging="True" AlternatingRowStyle-CssClass="alt"
            CommandRowStyle-CssClass="ftr" CssClass="grid" EditRowStyle-CssClass="EditRowStyle"
            EnableModelValidation="True" FieldHeaderStyle-CssClass="hdr" GridLines="None"
            PagerStyle-CssClass="pgr" PageSize="5" RowStyle-CssClass="mGridRowStyle" SelectedRowStyle-CssClass="SelectedRowStyle"
            OnPageIndexChanging="gvUserCompleteTasks_PageIndexChanging" OnRowDataBound="gvUserCompleteTasks_RowDataBound">
             <PagerSettings Mode="Numeric" Position="Bottom" />
        </asp:GridView>
    </ContentTemplate>
     <Triggers>
    <asp:AsyncPostBackTrigger ControlID="btnCompleteShow" EventName="Click" />
    </Triggers>
</asp:UpdatePanel>
